PulseCanvas / app · pulsecanvas.ai / Sources / PulseCanvas / Resources / ProjectM / Presets / Dancer / Blobby Mirror / LuxXx - Token Beats.milk
| 1 | MILKDROP_PRESET_VERSION=201 |
| 2 | PSVERSION=3 |
| 3 | PSVERSION_WARP=3 |
| 4 | PSVERSION_COMP=2 |
| 5 | [preset00] |
| 6 | fRating=5.000000 |
| 7 | fGammaAdj=1.900 |
| 8 | fDecay=0.980 |
| 9 | fVideoEchoZoom=1.169 |
| 10 | fVideoEchoAlpha=0.000 |
| 11 | nVideoEchoOrientation=0 |
| 12 | nWaveMode=6 |
| 13 | bAdditiveWaves=0 |
| 14 | bWaveDots=0 |
| 15 | bWaveThick=1 |
| 16 | bModWaveAlphaByVolume=0 |
| 17 | bMaximizeWaveColor=0 |
| 18 | bTexWrap=1 |
| 19 | bDarkenCenter=0 |
| 20 | bRedBlueStereo=0 |
| 21 | bBrighten=0 |
| 22 | bDarken=0 |
| 23 | bSolarize=0 |
| 24 | bInvert=0 |
| 25 | fWaveAlpha=0.001 |
| 26 | fWaveScale=2.630 |
| 27 | fWaveSmoothing=0.360 |
| 28 | fWaveParam=0.000 |
| 29 | fModWaveAlphaStart=0.710 |
| 30 | fModWaveAlphaEnd=1.300 |
| 31 | fWarpAnimSpeed=0.037 |
| 32 | fWarpScale=0.015 |
| 33 | fZoomExponent=1.00000 |
| 34 | fShader=0.000 |
| 35 | zoom=1.00000 |
| 36 | rot=0.00000 |
| 37 | cx=0.500 |
| 38 | cy=0.500 |
| 39 | dx=0.00000 |
| 40 | dy=0.00000 |
| 41 | warp=0.03300 |
| 42 | sx=1.00000 |
| 43 | sy=1.00000 |
| 44 | wave_r=0.650 |
| 45 | wave_g=0.650 |
| 46 | wave_b=0.650 |
| 47 | wave_x=0.500 |
| 48 | wave_y=0.500 |
| 49 | ob_size=0.005 |
| 50 | ob_r=0.000 |
| 51 | ob_g=0.000 |
| 52 | ob_b=0.000 |
| 53 | ob_a=1.000 |
| 54 | ib_size=0.005 |
| 55 | ib_r=0.000 |
| 56 | ib_g=1.000 |
| 57 | ib_b=0.000 |
| 58 | ib_a=0.000 |
| 59 | nMotionVectorsX=12.000 |
| 60 | nMotionVectorsY=9.000 |
| 61 | mv_dx=0.000 |
| 62 | mv_dy=0.000 |
| 63 | mv_l=0.900 |
| 64 | mv_r=1.000 |
| 65 | mv_g=1.000 |
| 66 | mv_b=1.000 |
| 67 | mv_a=0.000 |
| 68 | b1n=0.000 |
| 69 | b2n=0.000 |
| 70 | b3n=0.000 |
| 71 | b1x=1.000 |
| 72 | b2x=1.000 |
| 73 | b3x=1.000 |
| 74 | b1ed=0.250 |
| 75 | wavecode_0_enabled=0 |
| 76 | wavecode_0_samples=512 |
| 77 | wavecode_0_sep=0 |
| 78 | wavecode_0_bSpectrum=0 |
| 79 | wavecode_0_bUseDots=0 |
| 80 | wavecode_0_bDrawThick=0 |
| 81 | wavecode_0_bAdditive=0 |
| 82 | wavecode_0_scaling=1.00000 |
| 83 | wavecode_0_smoothing=0.50000 |
| 84 | wavecode_0_r=1.000 |
| 85 | wavecode_0_g=1.000 |
| 86 | wavecode_0_b=1.000 |
| 87 | wavecode_0_a=1.000 |
| 88 | wavecode_1_enabled=0 |
| 89 | wavecode_1_samples=512 |
| 90 | wavecode_1_sep=0 |
| 91 | wavecode_1_bSpectrum=0 |
| 92 | wavecode_1_bUseDots=0 |
| 93 | wavecode_1_bDrawThick=0 |
| 94 | wavecode_1_bAdditive=0 |
| 95 | wavecode_1_scaling=1.00000 |
| 96 | wavecode_1_smoothing=0.50000 |
| 97 | wavecode_1_r=1.000 |
| 98 | wavecode_1_g=1.000 |
| 99 | wavecode_1_b=1.000 |
| 100 | wavecode_1_a=1.000 |
| 101 | wavecode_2_enabled=0 |
| 102 | wavecode_2_samples=512 |
| 103 | wavecode_2_sep=0 |
| 104 | wavecode_2_bSpectrum=0 |
| 105 | wavecode_2_bUseDots=0 |
| 106 | wavecode_2_bDrawThick=0 |
| 107 | wavecode_2_bAdditive=0 |
| 108 | wavecode_2_scaling=1.00000 |
| 109 | wavecode_2_smoothing=0.50000 |
| 110 | wavecode_2_r=1.000 |
| 111 | wavecode_2_g=1.000 |
| 112 | wavecode_2_b=1.000 |
| 113 | wavecode_2_a=1.000 |
| 114 | wavecode_3_enabled=0 |
| 115 | wavecode_3_samples=512 |
| 116 | wavecode_3_sep=0 |
| 117 | wavecode_3_bSpectrum=0 |
| 118 | wavecode_3_bUseDots=0 |
| 119 | wavecode_3_bDrawThick=0 |
| 120 | wavecode_3_bAdditive=0 |
| 121 | wavecode_3_scaling=1.00000 |
| 122 | wavecode_3_smoothing=0.50000 |
| 123 | wavecode_3_r=1.000 |
| 124 | wavecode_3_g=1.000 |
| 125 | wavecode_3_b=1.000 |
| 126 | wavecode_3_a=1.000 |
| 127 | shapecode_0_enabled=1 |
| 128 | shapecode_0_sides=44 |
| 129 | shapecode_0_additive=0 |
| 130 | shapecode_0_thickOutline=0 |
| 131 | shapecode_0_textured=0 |
| 132 | shapecode_0_num_inst=1 |
| 133 | shapecode_0_x=0.500 |
| 134 | shapecode_0_y=0.500 |
| 135 | shapecode_0_rad=0.03347 |
| 136 | shapecode_0_ang=0.00000 |
| 137 | shapecode_0_tex_ang=0.00000 |
| 138 | shapecode_0_tex_zoom=1.00000 |
| 139 | shapecode_0_r=1.000 |
| 140 | shapecode_0_g=1.000 |
| 141 | shapecode_0_b=1.000 |
| 142 | shapecode_0_a=1.000 |
| 143 | shapecode_0_r2=1.000 |
| 144 | shapecode_0_g2=1.000 |
| 145 | shapecode_0_b2=1.000 |
| 146 | shapecode_0_a2=0.000 |
| 147 | shapecode_0_border_r=1.000 |
| 148 | shapecode_0_border_g=1.000 |
| 149 | shapecode_0_border_b=1.000 |
| 150 | shapecode_0_border_a=0.000 |
| 151 | shape_0_init1=fran = 1; |
| 152 | shape_0_init2=xs = 1; |
| 153 | shape_0_init3=ys = 1; |
| 154 | shape_0_init4=xm = 0.5; |
| 155 | shape_0_init5=ym = 0.5; |
| 156 | shape_0_per_frame1=xs = xs*(1 - 2*above(xm,0.99) - 2*below(xm,0.01)); |
| 157 | shape_0_per_frame2=ys = ys*(1 - 2*above(ym,0.99) - 2*below(ym,0.01)); |
| 158 | shape_0_per_frame3= |
| 159 | shape_0_per_frame4=xm = xm + 0.03*xs*(sin(time*0.53)*0.4 + 0.6*cos(time*0.62)); |
| 160 | shape_0_per_frame5=ym = ym + 0.03*ys*(sin(time*0.29)*0.5 + 0.5*cos(time*0.78)); |
| 161 | shape_0_per_frame6= |
| 162 | shape_0_per_frame7=x = xm; |
| 163 | shape_0_per_frame8=y = ym; |
| 164 | shape_0_per_frame9= |
| 165 | shape_0_per_frame10=r = 0.5 + 0.25*sin(x*12) + 0.25*sin(y*3); |
| 166 | shape_0_per_frame11=g = 0.5 + 0.25*sin(x*7) + 0.25*sin(y*32); |
| 167 | shape_0_per_frame12=b = 0.5 + 0.25*sin(x*21) + 0.25*sin(y*16); |
| 168 | shape_0_per_frame13=r2 = r; g2 = g; b2 = b; |
| 169 | shape_0_per_frame14=rad = 0.2*(bass_att + mid_att + treb_att)/3; |
| 170 | shapecode_1_enabled=1 |
| 171 | shapecode_1_sides=44 |
| 172 | shapecode_1_additive=0 |
| 173 | shapecode_1_thickOutline=0 |
| 174 | shapecode_1_textured=0 |
| 175 | shapecode_1_num_inst=1 |
| 176 | shapecode_1_x=0.500 |
| 177 | shapecode_1_y=0.500 |
| 178 | shapecode_1_rad=0.03347 |
| 179 | shapecode_1_ang=0.00000 |
| 180 | shapecode_1_tex_ang=0.00000 |
| 181 | shapecode_1_tex_zoom=1.00000 |
| 182 | shapecode_1_r=1.000 |
| 183 | shapecode_1_g=1.000 |
| 184 | shapecode_1_b=1.000 |
| 185 | shapecode_1_a=1.000 |
| 186 | shapecode_1_r2=1.000 |
| 187 | shapecode_1_g2=1.000 |
| 188 | shapecode_1_b2=1.000 |
| 189 | shapecode_1_a2=0.000 |
| 190 | shapecode_1_border_r=1.000 |
| 191 | shapecode_1_border_g=1.000 |
| 192 | shapecode_1_border_b=1.000 |
| 193 | shapecode_1_border_a=0.000 |
| 194 | shape_1_init1=fran = 1; |
| 195 | shape_1_init2=xs = 1; |
| 196 | shape_1_init3=ys = 1; |
| 197 | shape_1_init4=xm = 0.5; |
| 198 | shape_1_init5=ym = 0.5; |
| 199 | shape_1_per_frame1=xs = xs*(1 - 2*above(xm,0.99) - 2*below(xm,0.01)); |
| 200 | shape_1_per_frame2=ys = ys*(1 - 2*above(ym,0.99) - 2*below(ym,0.01)); |
| 201 | shape_1_per_frame3= |
| 202 | shape_1_per_frame4=xm = xm + 0.03*xs*(sin(time*0.53)*0.6 + 0.4*cos(time*0.62)); |
| 203 | shape_1_per_frame5=ym = ym + 0.03*ys*(sin(time*0.29)*0.7 + 0.3*cos(time*0.78)); |
| 204 | shape_1_per_frame6= |
| 205 | shape_1_per_frame7=x = xm; |
| 206 | shape_1_per_frame8=y = ym; |
| 207 | shape_1_per_frame9= |
| 208 | shape_1_per_frame10=r = 0.5 + 0.25*sin(x*12) + 0.25*sin(y*3); |
| 209 | shape_1_per_frame11=g = 0.5 + 0.25*sin(x*7) + 0.25*sin(y*32); |
| 210 | shape_1_per_frame12=b = 0.5 + 0.25*sin(x*21) + 0.25*sin(y*16); |
| 211 | shape_1_per_frame13=r2 = r; g2 = g; b2 = b; |
| 212 | shape_1_per_frame14=rad = 0.2*(bass_att + mid_att + treb_att)/3; |
| 213 | shapecode_2_enabled=0 |
| 214 | shapecode_2_sides=44 |
| 215 | shapecode_2_additive=0 |
| 216 | shapecode_2_thickOutline=0 |
| 217 | shapecode_2_textured=0 |
| 218 | shapecode_2_num_inst=1 |
| 219 | shapecode_2_x=0.500 |
| 220 | shapecode_2_y=0.500 |
| 221 | shapecode_2_rad=0.03347 |
| 222 | shapecode_2_ang=0.00000 |
| 223 | shapecode_2_tex_ang=0.00000 |
| 224 | shapecode_2_tex_zoom=1.00000 |
| 225 | shapecode_2_r=1.000 |
| 226 | shapecode_2_g=1.000 |
| 227 | shapecode_2_b=1.000 |
| 228 | shapecode_2_a=1.000 |
| 229 | shapecode_2_r2=1.000 |
| 230 | shapecode_2_g2=1.000 |
| 231 | shapecode_2_b2=1.000 |
| 232 | shapecode_2_a2=0.000 |
| 233 | shapecode_2_border_r=1.000 |
| 234 | shapecode_2_border_g=1.000 |
| 235 | shapecode_2_border_b=1.000 |
| 236 | shapecode_2_border_a=0.000 |
| 237 | shape_2_init1=fran = 1; |
| 238 | shape_2_init2=xs = 1; |
| 239 | shape_2_init3=ys = 1; |
| 240 | shape_2_init4=xm = 0.5; |
| 241 | shape_2_init5=ym = 0.5; |
| 242 | shape_2_per_frame1=xs = xs*(1 - 2*above(xm,0.99) - 2*below(xm,0.01)); |
| 243 | shape_2_per_frame2=ys = ys*(1 - 2*above(ym,0.99) - 2*below(ym,0.01)); |
| 244 | shape_2_per_frame3= |
| 245 | shape_2_per_frame4=xm = xm + 0.03*xs*(sin(time*0.35)*0.5 + 0.5*cos(time*0.87)); |
| 246 | shape_2_per_frame5=ym = ym + 0.03*ys*(sin(time*0.92)*0.3 + 0.7*cos(time*0.26)); |
| 247 | shape_2_per_frame6= |
| 248 | shape_2_per_frame7=x = xm; |
| 249 | shape_2_per_frame8=y = ym; |
| 250 | shape_2_per_frame9= |
| 251 | shape_2_per_frame10=r = 0.5 + 0.5*sin(time*0.25); |
| 252 | shape_2_per_frame11=g = 0.5 + abs(r)*sin(time*0.5); |
| 253 | shape_2_per_frame12=b = 0.5 + abs(g)*sin(time); |
| 254 | shape_2_per_frame13=r2 = r; g2 = g; b2 = b; |
| 255 | shape_2_per_frame14=rad = 1.6*(bass_att + mid_att + treb_att)/3; |
| 256 | shapecode_3_enabled=0 |
| 257 | shapecode_3_sides=4 |
| 258 | shapecode_3_additive=0 |
| 259 | shapecode_3_thickOutline=0 |
| 260 | shapecode_3_textured=0 |
| 261 | shapecode_3_num_inst=1 |
| 262 | shapecode_3_x=0.500 |
| 263 | shapecode_3_y=0.500 |
| 264 | shapecode_3_rad=0.10000 |
| 265 | shapecode_3_ang=0.00000 |
| 266 | shapecode_3_tex_ang=0.00000 |
| 267 | shapecode_3_tex_zoom=1.00000 |
| 268 | shapecode_3_r=1.000 |
| 269 | shapecode_3_g=0.000 |
| 270 | shapecode_3_b=0.000 |
| 271 | shapecode_3_a=1.000 |
| 272 | shapecode_3_r2=0.000 |
| 273 | shapecode_3_g2=1.000 |
| 274 | shapecode_3_b2=0.000 |
| 275 | shapecode_3_a2=0.000 |
| 276 | shapecode_3_border_r=1.000 |
| 277 | shapecode_3_border_g=1.000 |
| 278 | shapecode_3_border_b=1.000 |
| 279 | shapecode_3_border_a=0.100 |
| 280 | per_frame_init_1=mv_x=64;mv_y=48; |
| 281 | per_frame_init_2=nut=0; |
| 282 | per_frame_init_3=stp=0;stq=0; |
| 283 | per_frame_init_4=rtp=0;rtq=0; |
| 284 | per_frame_init_5=wvr=0; |
| 285 | per_frame_init_6=decay=0; |
| 286 | per_frame_init_7=dcsp=0; |
| 287 | per_frame_init_8=warp=0 |
| 288 | per_frame_init_9= |
| 289 | per_frame_1=zoom=1; |
| 290 | per_frame_2=//krash's beat detection code |
| 291 | per_frame_3=volume = 0.3*(bass+mid+att); |
| 292 | per_frame_4=beatrate = equal(beatrate,0) + (1-equal(beatrate,0))*(below(volume,0.01) + (1-below(volume,0.01))*beatrate); |
| 293 | per_frame_5=lastbeat = lastbeat + equal(lastbeat,0)*time; |
| 294 | per_frame_6=meanbass_att = 0.1*(meanbass_att*9 + bass_att); |
| 295 | per_frame_7=peakbass_att = max(bass_att,peakbass_att); |
| 296 | per_frame_8=beatrate = max(if(beat,if(below(time-lastbeat,2*beatrate),0.1*(beatrate*9 + time - lastbeat),beatrate),beatrate),0.1); |
| 297 | per_frame_9=peakbass_att = beat*bass_att + (1-beat)*peakbass_att*(above(time - lastbeat, 2*beatrate)*0.95 + (1-above(time - lastbeat, 2*beatrate))*0.995); |
| 298 | per_frame_10=lastbeat = beat*time + (1-beat)*lastbeat; |
| 299 | per_frame_11=peakbass_att = max(peakbass_att,1.1*meanbass_att); |
| 300 | per_frame_12=beat = above(volume,0.8)*below(peakbass_att - bass_att, 0.05*peakbass_att)*above(time - lastbeat, 0.1 + 0.5*(beatrate - 0.1)); |
| 301 | per_frame_13=beatcounter = beatcounter + beat; |
| 302 | per_frame_14=mode = if(beat*equal(beatcounter%2,0),1-mode,mode); |
| 303 | per_frame_15=flip = 2*mode-1; |
| 304 | per_frame_16=monitor=flip; |
| 305 | per_frame_17=q8=flip; |
| 306 | per_frame_18= |
| 307 | per_frame_19=angadv=angadv+beat; |
| 308 | per_frame_20=angadv=if( above(angadv,5) , 2 , angadv ); |
| 309 | per_frame_21=q7=angadv; |
| 310 | per_frame_22= |
| 311 | per_frame_23= |
| 312 | per_frame_24=decay=0.95; |
| 313 | per_frame_25=zoom=1.002; |
| 314 | per_frame_26= |
| 315 | per_frame_27=vol=(bass_att+mid_att+treb_att)*0.25; |
| 316 | per_frame_28=vol=vol*vol; |
| 317 | per_frame_29=mtime=mtime+vol*0.1*flip*(37/fps); |
| 318 | per_frame_30= |
| 319 | per_frame_31=q1=mtime*0.4; |
| 320 | per_frame_32= |
| 321 | per_frame_33=warp=0.0; |
| 322 | per_frame_34= |
| 323 | per_frame_35=cx=sin(mtime*0.2)*0.4 + 0.5; |
| 324 | per_frame_36=cy=sin(mtime*0.33); |
| 325 | per_frame_37=cys=sign(cy); |
| 326 | per_frame_38=cy=cy*cy*cys; |
| 327 | per_frame_39=cy=cy*0.4+0.5; |
| 328 | per_frame_40= |
| 329 | per_frame_41=//cx=sin(time)*0.5+0.5; |
| 330 | per_frame_42=//cy=cos(time)*0.5+0.5; |
| 331 | per_frame_43=//cx=0.5; |
| 332 | per_frame_44=//cy=0.5; |
| 333 | per_frame_45=rot=sin(time*0.25)*0.31; |
| 334 | per_frame_46= |
| 335 | per_frame_47= |
| 336 | per_frame_48=q23 = rand(1000)/1000; |
| 337 | per_frame_49=q24 = rand(1000)/1000; |
| 338 | per_frame_50=q25 = (rand(1000)/1000)*6.28; |
| 339 | per_frame_51=q26 = q25 - 3.14; |
| 340 | per_frame_52=q27 = (rand(1000)/8000)+0.1; |
| 341 | per_frame_53= |
| 342 | per_frame_54=q28 = rand(1000)/1000; |
| 343 | per_frame_55=q29 = rand(1000)/1000; |
| 344 | per_frame_56=q30 = (rand(1000)/1000)*6.28; |
| 345 | per_frame_57=q31 = q30 - 3.14; |
| 346 | per_frame_58=q32 = (rand(1000)/8000)+0.1; |
| 347 | per_pixel_1=//tm=time+(sin(time)*rad); |
| 348 | per_pixel_2=//var=tan(time)*treb; |
| 349 | per_pixel_3=tbr=0.7+treb*0.3; |
| 350 | per_pixel_4=var=-2*tbr*0.75; |
| 351 | per_pixel_5= |
| 352 | per_pixel_6=ag=atan( (y-0.5-(cy-0.5))/(x-0.5-(cx-0.5)) )*1.75; |
| 353 | per_pixel_7=star=sin(ang*q7)*tbr; |
| 354 | per_pixel_8= |
| 355 | per_pixel_9=rdd=max( abs(x-0.5) , abs(y-0.5) )*4 ; |
| 356 | per_pixel_10=zm=1+(rdd/40)+(var/40)+star*0.003 ; |
| 357 | per_pixel_11= |
| 358 | per_pixel_12=//sx=zm; |
| 359 | per_pixel_13=//sy=zm; |
| 360 | per_pixel_14=//sx=1+star*0.1;sy=1+star*0.1; |
| 361 | per_pixel_15=sx=0.8;sy=sx; |
| 362 | per_pixel_16=//rot=star*0.01*tbr |
| 363 | warp_1=`sampler sampler_pw_noise_lq; |
| 364 | warp_2=`sampler sampler_shub1; |
| 365 | warp_3=`shader_body { |
| 366 | warp_4=`float corr = texsize.xy*texsize_noise_lq.zw; |
| 367 | warp_5=`float2 uv1 = float2(uv.x-0.5,uv.y-0.5)*aspect.xy; |
| 368 | warp_6=` |
| 369 | warp_7=`//uv = float2(uv.x,uv.y)*aspect.xy; |
| 370 | warp_8=` |
| 371 | warp_9=`int2 k1 = (texsize.xy*uv)%2; |
| 372 | warp_10=` |
| 373 | warp_11=`double3 ist = GetBlur1(uv); |
| 374 | warp_12=` |
| 375 | warp_13=`double3 crisp = tex2D(sampler_main,uv); |
| 376 | warp_14=`crisp = crisp + (.003) -.00*pow(rad,2); |
| 377 | warp_15=` |
| 378 | warp_16=`float3 ret1 = crisp; |
| 379 | warp_17=` |
| 380 | warp_18=`float3 dec = float3(.98,0.98,0.975); |
| 381 | warp_19=` |
| 382 | warp_20=`ret1 = ret1 * (1-.0*ist)*(1-.08*abs(tan(4*ist*1.58))); |
| 383 | warp_21=`ret = ret1; |
| 384 | warp_22=`ret = ret -.01; |
| 385 | warp_23=`} |
| 386 | comp_1=` |
| 387 | comp_2=`shader_body |
| 388 | comp_3=`{ |
| 389 | comp_4=` float2 uv_echo = (uv - 0.5)*float2(-1,1) + 0.5; |
| 390 | comp_5=` ret = lerp( tex2D(sampler_main, (uv-0.5)*0.98 + 0.5).xyz, |
| 391 | comp_6=` tex2D(sampler_main, (uv_echo-0.5)*0.98 + 0.5).xyz, |
| 392 | comp_7=` 0.50 |
| 393 | comp_8=` ) + GetBlur3(uv) + GetBlur3(uv_echo) |
| 394 | comp_9=` + GetBlur1(uv) + GetBlur1(uv_echo); //video echo; //video echo |
| 395 | comp_10=` ret *= 10.00; //gamma |
| 396 | comp_11=` //ret = ret*(1 - ret)*10; //brighten |
| 397 | comp_12=`} |